{{- $str := .RawContent | replaceRE "\\r\\n" "\n" -}}
{{- if len ($str | findRE "(?s:^---.+?---$)") -}}
    {{- $str = "" -}}
{{- end -}}
{{- $str = partial "func/render" (dict "str" $str "root" . ) -}}
{{- $str -}}
